package com.qidianit.mes.device.service.impl;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.device.mapper.DeviceWorkShopMapper;
import com.qidianit.mes.device.service.DeviceWorkShopService;
import com.qidianit.mes.pojo.DeviceWorkshop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeviceWorkShopServiceImpl implements DeviceWorkShopService {

    @Autowired
    DeviceWorkShopMapper deviceWorkShopMapper;
    @Override
    public MESResult list() {
        List<DeviceWorkshop> deviceWorkshops =  deviceWorkShopMapper.list();
        return MESResult.success(deviceWorkshops);
    }

    @Override
    public MESResult add(DeviceWorkshop deviceWorkshop) {
        return null;
    }

    @Override
    public MESResult edit(DeviceWorkshop deviceWorkshop) {
        return null;
    }

    @Override
    public MESResult delete(String id) {
        return null;
    }
}
